#主页
from django.http import HttpResponse
from django.shortcuts import render

from blog.models import Article


def home(request,id):
    se=Article.objects.filter(id=id)

    return render(request,'blog.html',{'title':se[0].title,'content':se[0].content})